Visual Basic (Declaration) | |
---|---|
Overloads Function TryUpdate( _ ByVal key As TKey, _ ByVal value As TValue, _ ByVal comparisonValue As TValue _ ) As Boolean |
Parameters
- key
- The object to use as the key of the element to update.
- value
- The new value for the key if found.
- comparisonValue
- The value that is compared to the value of the element with key.
Return Value
Returns true if the key provided was found and updated to the value.Exception | Description |
---|---|
System.NotSupportedException | The IDictionary is read-only. |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7